﻿<%@ Page Title="Cập nhật tài liệu" Language="C#" MasterPageFile="~/Admin/Masters/AdminMasterPage.master" AutoEventWireup="true" CodeFile="EditProduct.aspx.cs" Inherits="Admin_EditProduct" %>
<%@ Register assembly="CKEditor.NET" namespace="CKEditor.NET" tagprefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Title" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 318px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">

<div class="content-box"><!-- Start Content Box -->
				
		<div class="content-box-header">
					
			<h3>Thông tin chi tiết tài liệu</h3>
					
			<ul class="content-box-tabs">
				<li><a href="#tab1" class="default-tab">Tài liệu</a></li>                
			</ul>
					
			<div class="clear"></div>
					
		</div> <!-- End .content-box-header -->
				
<div class="content-box-content">



<input type="hidden" name="act" id="act" value="update" />
<!-- Start Tab Danh Sach-->

<div class="tab-content default-tab" id="tab1"> 
<!-- This is the target div. id must match the href of this div's tab -->
			
<!-- Start Notification -->
  <div id="NotificationMessage" runat="server"></div>
<!-- End Notification -->
						
	<table width="100%" align="center">							
		<thead>
		</thead>
						 
		<tfoot>
			<tr>
				<td>
					<div class="bulk-actions align-left">	
                    <input type="submit" value="Cập nhật" class="button" runat="server" id="btnCapNhat"/>                        				
                    <a href="ProductManager.aspx" class="button" >Trở lại danh sách tài liệu</a>
					</div>
										 
<!-- Start Pagging -->
<!-- End .pagination -->
<div class="clear"></div>
<!-- End Pagging -->
									
				</td>
			</tr>
		</tfoot>
						 
		<tbody>
         
			<tr>                				
                <td align="center" valign="top">
                    <table style="width:100%;" align="center">
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Mã tài liệu:</td>
                            <td style="text-align: left">
                                <asp:Label ID="MaTaiLieuLabel" runat="server" Text="MaTaiLieu"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Tên 
                                tài liêu:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="TenTaiLieuTextBox" runat="server" 
                                     Width="300px" />
                                <div class="error-msg"  id="ErrorTenTaiLieuTextBox" runat="server"></div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Giá:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="GiaTextBox" runat="server" 
                                    Width="300px" />
                                <div class="error-msg" id="ErrorGiaTextBox" runat="server"></div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Số lượng:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="SoLuongTextBox" runat="server" Width="300px"></asp:TextBox>
                                <div class="error-msg" id="ErrorSoLuongTextBox" runat="server"></div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Hình:</td>
                            <td style="text-align: left">                                    
                              <asp:TextBox ID="HinhTextBox" runat="server" Width="300px"></asp:TextBox>
                               <div class="error-msg" id="ErrorHinh" runat="server">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1" valign="middle">
                                Mô tả:</td>
                            <td align="left">                              
                                  <asp:TextBox ID="MoTaTextBox" runat="server" Height="100px" 
                                      TextMode="MultiLine" Width="300px"></asp:TextBox>
                                 <div class="error-msg" id="ErrorMoTaTextBox" runat="server">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Link tài liệu:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="LinkTextBox" runat="server" 
                                    Width="300px" />
                                <div class="error-msg" id="ErrorLinkTextBox" runat="server"></div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Kích thước:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="KichThuocTextBox" runat="server" 
                                   Width="300px" />
                                <div class="error-msg" id="ErrorKichThuocTextBox" runat="server"></div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Danh mục</td>
                            <td style="text-align: left">
                                <asp:DropDownList ID="DanhMucComboBox" runat="server" Width="300px">
                                </asp:DropDownList>
                                <div class="error-msg" id="ErrorDanhMucTextBox" runat="server"></div>
                            </td>
                        </tr>

                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Lượt xem:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="LuotXemTextBox" runat="server" 
                                   Width="300px" />
                                <div class="error-msg" id="ErrorLuotXemTextBox" runat="server"></div>
                            </td>
                        </tr>

                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Lượt mua:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="LuotMuaTextBox" runat="server" 
                                   Width="300px" />
                                <div class="error-msg" id="ErrorLuotMuaTextBox" runat="server"></div>
                            </td>
                        </tr>

                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Ngày tạo:</td>
                            <td style="text-align: left">
                                <asp:TextBox ID="NgayTaoTextBox" runat="server" 
                                   Width="300px" />
                                <div class="error-msg" id="ErrorNgayTaoTextBox" runat="server"></div>
                            </td>
                        </tr>

                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Tính năng:</td>
                            <td style="text-align: left">
                                <asp:DropDownList ID="TinhNangComboBox" runat="server" Width="300px">
                                    <asp:ListItem Value="0">Tài liệu bình thường</asp:ListItem>
                                    <asp:ListItem Value="1">Tài liệu nổi bật</asp:ListItem>
                                </asp:DropDownList>
                                <div class="error-msg" id="ErrorTinhNangTextBox" runat="server"></div>
                            </td>
                        </tr>

                        <tr>
                            <td align="right" style="text-align: right" class="style1">
                                Trạng thái:</td>
                            <td style="text-align: left">
                                <asp:DropDownList ID="TrangThaiComboBox" runat="server" Width="300px" >
                                    <asp:ListItem Selected="True" Value="-1">Chưa giao dịch</asp:ListItem>
                                    <asp:ListItem Value="1">Đang giao dịch</asp:ListItem>
                                </asp:DropDownList>	
                                <div class="error-msg" id="ErrorTrangThaiTextBox" runat="server"></div>
                            </td>
                        </tr>
                    </table>
                </td>
			</tr>							
			
		
		</tbody>							
	</table>						
</div>


<!-- End Tab Danh Sach-->					
  
   
					
</div> <!-- End .content-box-content -->
				
</div>

</asp:Content>

